#include "StdAfx.h"
#include "Wallet.h"
//@author A0091791X
Wallet::Wallet():_balance(0), _SN(0)
{
	_account.push_back("Cash");
	_accDeposit.push_back(0);
	_account.push_back("delete");
	_accDeposit.push_back(0);

	_category.push_back("Income");
	_category.push_back("Transfer");
	_category.push_back("Others");
	_category.push_back("Transport");
	_category.push_back("Foods");
	_category.push_back("Education");
	_category.push_back("Utility Fee");
	_category.push_back("Children");
	_category.push_back("Mobile");
	_category.push_back("Apparel");
	_category.push_back("Social");
	_category.push_back("Health");
	_category.push_back("Household");
}
Wallet::~Wallet()
{
}

//getter
double Wallet::getBalance()
{
	return _balance;
}
int Wallet::getNoOfAccount()
{
	return _account.size();
}
int Wallet::getNoOfCategory()
{
	return _category.size();
}
int Wallet::getNoOfTransaction()
{
	return _record.size();
}
int* Wallet::getSNAddr()
{
	return &_SN;
}
list<string>* Wallet::getAccList()
{
	return &(this->_account);
}
list<double>* Wallet::getAccDep()
{
	return &_accDeposit;
}
list<string>* Wallet::getCatList()
{
	return &(this->_category);
}
list<Transaction>* Wallet::getTranList()
{
	return &(this->_record);
}